home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Freeware
/
Adobe Air 1.5
/
AdobeAIRInstaller.exe
/
setup.swf
/
scripts
/
_todayStyleStyle.as
< prev
next >
Wrap
Text File
|
2008-10-29
|
910b
|
36 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _todayStyleStyle
{
public function _todayStyleStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".todayStyle");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".todayStyle",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.textAlign = "center";
this.color = 16777215;
};
}
}
}
}